package com.ali.order.controller;

import com.ali.order.config.GirlConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author Alistair.Chow
 * @date 2019/2/2 16:08
 */
@RestController
@RequestMapping("/girl")
public class GirlController {
    @Autowired
    private GirlConfig girlConfig;

    @GetMapping("/print")
    public String print(){
        return girlConfig.toString();
    }
}
